Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update generated for empty non-presence containers #24

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

martin-volf
Copy link
Contributor

The adapter fails when the request targets a non-presence container that exists but its children do not; ConfD would generate an empty JSON document that is not processed correctly - this is fixed. The question is whether an empty update or no update at all should be returned in such case. The implementation goes with the former with the following reasoning:

  • we return no update if the path simply does not exist, so it makes sense to behave differently here;
  • the specification seems to require that in GetResponse Behavior Table.

@martin-volf martin-volf merged commit 07044a7 into main Nov 7, 2023
1 check passed
@martin-volf martin-volf deleted the mv/empty-container branch November 7, 2023 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants